problems on residue theorem